package com.samples;

public class Firstclass {
	
	protected static void firstMsg()
	{
		System.out.println("Success call");
	}
	
	private static String girlName;
	
	public void setName(String name){
	girlName=name;
}
	
	public static String getName()
	{
		return girlName;
	}
	
	public static void saying(){
		System.out.printf("Girl's Name is %s", getName());
	}
	
	
}
